<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<form th:action="@{/updatepersoncommit} " method="post">
  id:<input name="id" th:value="${id}">
  用户名：<input name="name" th:value="${name}"><br>
  年龄：<input name="age" th:value="${age}">
  <div><input type="submit" value="提交"></div>
</form>
</body>
</html>